package com.gd.coreservice.service;

import com.gd.coreservice.entity.Collection;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gd.coreservice.entity.vo.CollectionVo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2024-03-23
 */
public interface CollectionService extends IService<Collection> {


    List<CollectionVo> findCollection(String uid, String itemName);

    Integer getUidTotal(String uid, String itemName);

    Boolean findMyCollection(String uid, String gid);

    boolean insertCollection(String uid, String gid);

    Integer deleteCollection(String uid, String itemId);
}
